//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import common.GlobalID;

public class FruitEntry {
  private final String Name;
  private final Integer UnlockLevel;
  private final String Tree;
  private final Integer DumbValue;
  private final Integer Instance;
  private final Integer DiamondPrice;
  private final Integer ExpCollect;

  public FruitEntry(String Name, Integer UnlockLevel, String Tree, Integer DumbValue, Integer DiamondPrice, Integer Instance, Integer ExpCollect) {
    this.Name = Name;
    this.UnlockLevel = UnlockLevel;
    this.Tree = Tree;
    this.DumbValue = DumbValue;
    this.Instance = Instance;
    this.DiamondPrice = DiamondPrice;
    this.ExpCollect = ExpCollect;
  }

  public String getName() {
    return this.Name;
  }

  public Integer getUnlockLevel() {
    return this.UnlockLevel;
  }

  public String getTree() {
    return this.Tree;
  }

  public Integer getDefaultPrice() {
    return this.DumbValue;
  }

  public Integer getGlobalID() {
    return Integer.valueOf(GlobalID.create(61, this.Instance.intValue()));
  }

  public Integer getDiamondPrice() {
    return this.DiamondPrice;
  }

  public Integer getExpCollect() {
    return this.ExpCollect;
  }

  public String toString() {
    return this.Name + "(" + this.getGlobalID() + "): UnlockLevel:" + this.UnlockLevel + ", Tree:" + this.Tree + ", DefaultPrice:" + this.DumbValue;
  }
}
